package com.smart.manager.pop.entities.models;

import com.smart.common.entities.core.BaseLongModel;
import com.smart.manager.pop.entities.assembler.DsRule;
import com.smart.manager.pop.entities.enums.LevelGetWay;
import io.ebean.annotation.DbJson;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import java.math.BigDecimal;


/**
 * 链接资料
 *
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@Accessors(chain = true)

public class PopDisLevel extends BaseLongModel {

    @ApiModelProperty(value = "级别代码")
    private Integer code;

    @ApiModelProperty(value = "级别名称")
    private String name;

    @ApiModelProperty(value = "前端别名")
    private String nickName;


    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "介绍图片")
    private String introduceImg;




    @ApiModelProperty(value = "等级描述")
    private String description;



    @ApiModelProperty(value = "分销规则")
    @DbJson
    private DsRule rule ;




}
